|
HttpWatch can be installed from batch files, on the command line or from automated tools like SMS by supplying command line arguments to the setup program:
httpwatchpro /S [/D=<install_dir>] [/errorpath=...] [/license=...]
The command line options are as follows:
/S |
This causes the setup program to run with no GUI and to require no interaction. |
/D |
The default install directory can be changed using this
flag. e.g. /D=c:\program files\networktools\httpwatch |
/errorpath |
This specifies where files containing error
information should be written. If this option is not specified the files
will be written to the directory containing the setup program. Example: /errorpath=c:\temp |
/license |
This sets the file name of the HttpWatch Professional
edition license. Use the value '[installed]' to use an existing,
installed license. Here are some examples /license=httpwatch.lic /license=D:\temp\httpwatch.lic /license=\\server1\share1\httpwatch.lic /license=[installed] |
(All command line flags are case sensitive)
If an error occurs during a silent install no message box or dialogs are displayed. The setup program will have a non zero exit code and one of the following files will be written:
httpwatch_reboot.txt |
This indicates that the setup requires a reboot to complete |
httpwatch_error.txt |
This file is written if the setup program could not complete, e.g. the destination directory is not writable. |
The directory, in which these files are written, can be controlled using the /errorpath command line flag.
When the setup program completes successfully it will have an exit code of zero and no error files are written.
To run directly from the command line or in a batch file, you will need to use the Windows Start command to wait for the setup program to complete, e.g.
start /wait httpwatchpro /S /license=[installed]
|